gdkwindow: avoid multiple walking of children list
authorChristian Hergert <christian@hergert.me>
Mon, 14 Sep 2015 19:25:44 +0000 (12:25 -0700)
committerChristian Hergert <christian@hergert.me>
Mon, 14 Sep 2015 19:40:12 +0000 (12:40 -0700)
commit1c8760c5fafa4d55eef9b31166e2095b88b06b46
treefb84f775471587065508e66c0e4339d9757cf406
parent7d3ad4384175eec0b75e8a09e5da1a917008374c
gdkwindow: avoid multiple walking of children list

This counts the number of children and fetches the last GList
node at the same time.
gdk/gdkwindow.c